/**
 * 活动中心-首页卡片种类
 */
export const RewardsHome = {
	rfc: {
		id: 'rfc',
		name: 'rewards.freeBet.title',
		subTitle: 'activity.freeBet.depositd',
		tncLink: 'rewards-rfc'
	},
	// 标题上的 最大奖金比例需要根据接口状态显示;
	ftd: {
		id: 'ftd'
		// name: ['record.firstDepositTitle', { ratio: '300' }]
		// tncLink: 'rewards-bonus-ftd'
	},
	reload: {
		id: 'reload',
		// name: ['record.reloadDepositTitle', { ratio: '400' }]
		tncLink: 'rewards-bonus-reload'
	},
	lockBonus: {
		id: 'lockBonus',
		name: 'rewards.lockBonusTitle',
		// icon: '@/assets/img/rewards/home-locked.png',
		tncLink: '',
		style: '--card-item-background: linear-gradient(90deg, #ed5f5559, #e553531a);'
	},
	weeklyReward: {
		id: 'weeklyReward',
		name: 'rewards.weeklyBonusTitle',
		icon: '@/assets/img/rewards/home-weekly.png',
		tncLink: 'rewards-weekly-bonus'
	},
	bonus: {
		id: 'bonus',
		name: 'rewards.bonusTitle',
		icon: '@/assets/img/rewards/home-bonus.png',
		tncLink: 'rewards-bonus-general'
	},
	cashback: {
		id: 'cashback',
		name: 'rewards.cashbackTitle',
		icon: '@/assets/img/rewards/home-cashback.png',
		tncLink: 'rewards-cashback'
	},
	sportsRebate: {
		id: 'sportsRebate',
		name: 'rewards.sportsTitle',
		icon: '@/assets/img/rewards/home-sports-rebate.png',
		tncLink: 'rewards-rebate-sports'
	},
	slotsRebate: {
		id: 'slotsRebate',
		name: 'rewards.slotsTitle',
		icon: '@/assets/img/rewards/home-slots-rebate.png',
		tncLink: 'rewards-rebate-slots'
	},
	casinoRebate: {
		id: 'casinoRebate',
		name: 'rewards.casinoTitle',
		icon: '@/assets/img/rewards/home-casino-rebate.png',
		tncLink: 'rewards-rebate-casino'
	},
	rfcFinish: {
		id: 'rfcFinish',
		name: 'rewards.freeBet.challengeEnd',
		tncLink: 'rewards-rfc'
	},
	expireBonus: {
		id: 'expireBonus',
		name: 'rewards.expireBonusTitle',
		tncLink: ''
	}
}

export const RewardsRecord = {
	bonus: {
		id: 'bonus',
		name: 'record.bonusTitle',
		subTitle: 'record.bonusSubTitle',
		bannerTitle: 'record.bonusBannerTitle',
		style:
			'background: linear-gradient(180deg, #7B240B 0%, #551A1D 30.41%, #412935 69.75%, #68482F 100%)'
		// lightImage: require('@/assets/img/rewards/record/record-lock-bonus-light.svg'),
		// bannerImage: require('@/assets/img/rewards/record/record-bonus.png')
	},
	cashback: {
		id: 'cashback',
		name: 'record.cashbackTitle',
		subTitle: 'record.cashbackSubTitle',
		bannerTitle: 'record.cashbackBannerTitle',
		style:
			'background: linear-gradient(180deg, #917B0A 0%, #5F5E22 29.72%, #4C5241 69.06%, #84852B 100%)'
		// lightImage: require('@/assets/img/rewards/record/record-cashback-light.svg'),
		// bannerImage: require('@/assets/img/rewards/record/record-cashback.png')
	},
	sportsRebate: {
		id: 'sportsRebate',
		name: 'record.sportsTitle',
		subTitle: 'record.sportsSubTitle',
		bannerTitle: 'record.sportsBannerTitle',
		style:
			'background: linear-gradient(180deg, #11778E 0%, #174E5F 29.72%, #234C5F 69.06%, #2086A2 100%)'
		// lightImage: require('@/assets/img/rewards/record/record-sports-rebate-light.svg'),
		// bannerImage: require('@/assets/img/rewards/record/record-sports-rebate.png')
	},
	slotsRebate: {
		id: 'slotsRebate',
		name: 'record.slotsTitle',
		subTitle: 'record.slotsSubTitle',
		bannerTitle: 'record.slotsBannerTitle',
		style:
			'background: linear-gradient(180deg, #43791F 0%, #2E672E 29.72%, #325949 69.06%, #479236 100%)'
		// lightImage: require('@/assets/img/rewards/record/record-slots-rebate-light.svg'),
		// bannerImage: require('@/assets/img/rewards/record/record-slots-rebate.png')
	},
	casinoRebate: {
		id: 'casinoRebate',
		name: 'record.casinoTitle',
		subTitle: 'record.casinoSubTitle',
		bannerTitle: 'record.casinoBannerTitle',
		style:
			'background: linear-gradient(180deg, #840C88 0%, #471A5C 29.72%, #3D2755 69.06%, #8F2092 100%)'
		// lightImage: require('@/assets/img/rewards/record/record-casino-rebate-light.svg'),
		// bannerImage: require('@/assets/img/rewards/record/record-casino-rebate.png')
	},
	lockBonus: {
		id: 'lockBonus',
		name: 'record.lockBonusTitle',
		subTitle: 'record.lockBonusSubTitle',
		bannerTitle: 'record.lockBannerTitle',
		style:
			'background: linear-gradient(180deg, #7B240B 0%, #551A1D 30.41%, #412935 69.75%, #68482F 100%)'
		// lightImage: require('@/assets/img/rewards/record/record-casino-rebate-light.svg'),
		// bannerImage: require('@/assets/img/rewards/record/record-lock-bonus.png')
	},
	expireBonus: {
		id: 'expireBonus',
		name: 'record.expireBonusTitle'
	}
}

// 奖金状态; 来自后端接口
export const RewardStatusEnum = {
	INIT: { id: 0 }, // 未发放
	SUCCESS: { id: 1 }, // 已发放
	DISTRIBUTING: { id: 2 }, // 发放中
	FAILED: { id: 3 }, // 发放失败
	EXPIRED: { id: 4 } // 已过期
}

// 枚举差异; 已知后端集合类型: reward, rebate, cashback, sportsRebate, sportsCashback, slotsRebate, slotsCashback, ftdBonus
export const RewardsEnumDiff: any = {
	bonus: 'reward',
	lockBonus: 'ftdBonus'
}
